/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.groupb.circus.Databases;

import com.groupb.circus.interfaces.DBActionResult;
import java.util.List;
import org.xmldb.api.base.ResourceSet;

/**
 *
 * @author a
 */
public class DBActionResultIm implements DBActionResult{

    boolean isOk = false;
    String ErrorMsg;
    String a_ErrorMsg;
    List<Images> a_Result;
    private Throwable a_Exception;
    
    public boolean isOk() {
        return isOk;
    }

    @Override
    public String getErrorMsg() {
        return ErrorMsg;
    }

    @Override
    public Throwable getException() {
        return a_Exception;
    }

    @Override
    public List getResult() {
        
        return a_Result;
    }

    @Override
    public void setErrorMsg(String a_ErrorMsg) {
        this.a_ErrorMsg = a_ErrorMsg;
    }

    @Override
    public void setException(Throwable a_Exception) {
        this.a_Exception = a_Exception;
    }

    @Override
    public void setResult(List a_Result) {
        
        isOk = true;
        this.a_Result = a_Result;
      
        
      
    }
}
